#!/bin/bash
echo "-在安装前请确保您已经安装了星火应用商店,否则请按Ctrl+C结束脚本,否则后果自负!"
sleep 2
echo "-请在下方输入您的用户密码:"
sudo echo "-提权成功!" && clear
echo "-正在安装ACE容器"
sudo aptss update
sudo aptss install cn.flamescion.bookworm-compatibility-mode -y
echo "-安装完成!"
mkdir ~/Cache_Ra2 && cd ~/Cache_Ra2
echo "-正在在ACE容器内安装星火应用商店"
wget https://gitee.com/spark-store-project/spark-store/releases/download/4.3.3.1/spark-store_4.3.3.1-fix1_amd64.deb
sudo bookworm-run apt install ./*.deb -y
echo "-完成!"
echo "-正在更新仓库"
sudo bookworm-run aptss update && sudo bookworm-run aptss full-upgrade -y
echo "-完成!"
echo "-正在在ACE容器中安装红色警戒2:兵临城下4"
sudo bookworm-run aptss install spark-ra2-eneryag4 -y
echo "-完成!"
echo "-正在清理目录"
cd ~ && sudo rm -r Cache_Ra2
echo "-完成!"
echo "-配置完成!"
